package com.ruoyi.tb.lmt.mapper;

import com.ruoyi.tb.lmt.domain.TbEquipmentApply;
import com.ruoyi.tb.lmt.domain.vo.TbEquipmentApplyVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 大部件申请Mapper接口
 *
 * @author ruoyi
 * @date 2024-04-03
 */
@Mapper
public interface TbEquipmentApplyMapper extends BaseMapperPlus<TbEquipmentApplyMapper, TbEquipmentApply, TbEquipmentApplyVo> {

     TbEquipmentApplyVo selectByCode(String equipmentCode) ;

    List<TbEquipmentApplyVo> selectApplyList();

    List<TbEquipmentApplyVo> selectApplyListByDeputyDirector(String username);

    List<TbEquipmentApplyVo> selectApplyListByUsername(String username);
}
